.bili-nav {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 24px;
  position: absolute;
  top: 0;
  z-index: 1000;
}
/* 左侧导航区 */
.left-entry {
  display: flex;
}
.left-entry .entry-title {
  display: flex;
  align-items: center;
  height: 64px;
  color: #fff;
  margin-right: 20px;
}

.left-entry .entry-title svg {
  margin-right: 6px;
}
/* 搜索区 */
.center-search-container {
  flex: 1;
  height: 40px;
  padding: 0 48px 0 4px;
  border-radius: 8px;
  border: 1px solid #e3e5e7;
  background-color: #f1f2f3;
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 auto;
  max-width: 500px;
}
.center-search-container:hover {
  background: #fff;
}
.center-search-container .nav-search-content {
  display: flex;
  width: 100%;
  height: 20px;
  padding: 0 8px;
}
.center-search-container .nav-search-content input {
  flex: 1;
  background-color: transparent;
  line-height: 20px;
  overflow: hidden;
  padding-right: 8px;
}
.center-search-container .nav-search-button {
  position: absolute;
  top: 4px;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.center-search-container .nav-search-button:hover {
  background-color: #e3e4e5;
}
/* 右侧个人中心区 */
.right-entry {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.right-entry .header-avatar {
  width: 50px;
  height: 50px;
  padding-right: 10px;
  position: relative;
}
.right-entry .header-avatar a {
  position: absolute;
  top: 6px;
  left: 10px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background-color: #00aeec;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid transparent;
  color: #fff;
}
.right-entry .avatar-hover {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1 solid #ccc;
  padding: 10px;
  font-size: 14px;
  pointer-events: none;
}
.right-entry .right-entry-item {
  min-width: 50px;
  margin-right: 4px;
}
.right-entry .right-entry-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}
.right-entry .right-entry-item a span {
  font-size: 13px;
}
.right-entry .upload {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  width: 90px;
  height: 34px;
  border-radius: 8px;
  background-color: #fb7299;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.right-entry .upload:hover {
  background-color: #fc8bab;
}
.right-entry .upload span {
  margin-left: 5px;
}
.bili-banner {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
}
.bili-banner img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bili-banner .logo {
  width: 100%;
  height: 100%;
  padding: 0 96px;
  display: flex;
  align-items: flex-end;
}
.bili-banner .logo a {
  position: relative;
  width: 180px;
  height: 90px;
  margin-bottom: 10px;
}
.bili-banner .logo img {
  width: 162px;
  height: 78px;
}

.bili-banner .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), transparent);
}

.bili-channel {
  height: 120px;
  padding: 0 140px;
  display: flex;
  align-items: center;
}

.bili-channel .channel-icons {
  display: flex;
  margin-right: 20px;
}
.bili-channel .channel-icons a {
  display: flex;
  height: 72px;
  flex-direction: column;
  /* justify-content: center; */
  /* align-items: center; */
  margin-right: 24px;
}
.bili-channel .icon-bg {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 6px;
}
.bili-channel .icon-bg__dynamic {
  background-color: #ff9212;
}
.bili-channel .icon-bg__popular {
  background-color: #f07775;
}
.bili-channel .icon-bg svg {
  width: 25px;
  height: 25px;
}
.bili-channel span {
  text-align: center;
}
/* 频道右侧*/
.bili-channel .right-channel-container {
  width: 100%;
  display: flex;
}

.bili-channel .channel-items_left {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  width: 100%;
  padding-right: 30px;
}
.bili-channel .channel-items_left a {
  height: 32px;
  line-height: 32px;
  letter-spacing: 2px;
  background-color: #f6f7f8;
  border: 1px solid #f1f2f3;
  border-radius: 6px;
  text-align: center;
  color: #61666d;
}
.bili-channel .channel-items_right {
  display: grid;
  width: 258px;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-row-gap: 10px;
  flex-shrink: 0;
  border-left: 1px solid #e3e5e7;
}
.channel-items_right a {
  width: 100%;
  height: 32px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  font-weight: 400;
}

.channel-items_right svg {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  fill: #61666d;
}
.channel-items_right span {
  color: #61666d;
}
/* 推荐列表 */
.main {
  width: 100%;
  padding: 0 140px;
  box-sizing: border-box;
}
.main .recommended-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
}

.main .recommended-card .card-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.main .card-image img {
  width: 100%;
  height: 100%;
  /* vertical-align: middle; */
}

.card-image .image-mask {
  position: absolute;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
  padding: 16px 8px 6px;
  width: 100%;
  height: 38px;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.image-mask .stats-left .stats-item {
  display: flex;
  align-items: center;
  margin-right: 12px;
}
.card-image .image-mask .stats-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.image-mask svg {
  width: 18px;
  height: 18px;
  color: #fff;
  margin-right: 2px;
}
/* 底部信息 */
.card-info h3 {
  line-height: 22px;
  padding-right: 16px;
  font-size: 15px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-break: anywhere;
  -webkit-line-clamp: 2;
}
.info-bottom {
  margin-top: 4px;
  display: flex;
  font-size: 13px;
}
.info-bottom a {
  color: #9499a0;
  display: flex;
  align-items: center;
}
.info-bottom svg {
  width: 17px;
  height: 17px;
  margin-right: 2px;
}
.info-bottom .info-date {
  margin-left: 4px;
}
/* 轮播图 */
.recommended-container .carousel-area {
  grid-row: 1/3;
  grid-column: 1/3;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.carousel-area img {
  width: 100%;
}

.carousel-area .mask {
  width: 100%;
  height: 445px;
  position: absolute;
  top: 0;
  background: linear-gradient(0, #1e63bd 23%, transparent 35%);
  border-radius: 6px;
}
.carousel-area .tools {
  width: 100%;
  position: absolute;
  /* bottom: 94px; */
  left: 0px;
  padding: 0 15px;
  box-sizing: border-box;
}
.carousel-area .tools a {
  display: flex;
  margin-bottom: 10px;
  font-size: 18px;
  color: #fff;
}
.carousel-area .tools ul {
  display: flex;
}
.carousel-area .tools li {
  width: 8px;
  height: 8px;
  margin: 4px;
  border-radius: 50%;
  background-color: #fff6;
  cursor: pointer;
}
.carousel-area .tools li.active {
  width: 14px;
  height: 14px;
  margin: 1px;
  background-color: #fff;
}
.carousel-area .tools .buttons {
  position: absolute;
  bottom: 23px;
  right: 15px;
}
.tools button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff1a;
}
.tools button:last-child {
  margin-right: 0;
}
.tools svg {
  width: 12px;
  height: 12px;
  color: #fff;
}
/* 侧边栏 */
.sidebar {
  position: fixed;
  bottom: 40px;
  right: 12px;
}
.sidebar .primary-btn {
  width: 40px;
  margin-top: 6px;
  padding: 8px 0 6px;
  box-sizing: border-box;
  border: 1px solid #e3e5e7;
  border-radius: 8px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
}
.sidebar .primary-btn svg {
  width: 24px;
  height: 24px;
}
.primary-btn .primary-btn-text {
  margin-top: 2px;
}

.primary-btn.goback{
    padding: 4px;
}
.primary-btn.top-btn {
    margin-top: 12px;
}
.primary-btn.top-btn svg {
    width: 15px;
    height: 8px;
}